import pytest
from src.utils.request_tools.resquest_adapter import RequestsAdapter
from src.config.config_loader import ConfigLoader

@pytest.fixture(scope="session")
def api_client():
    config = ConfigLoader.load_config("config/config.yml")
    return RequestsAdapter(config["environments"]["test"]["base_url"])